Fixes: debbugs:11380
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 29 Apr 2012 20:05:44 +0000 (22:05 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 29 Apr 2012 20:05:44 +0000 (22:05 +0200)
* make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
byte-code forms.

lib-src/ChangeLog
lib-src/make-docfile.c

index b4c72d54dc13ae6e73e24f6ba8e314c27499ca91..82dcaf867f3971fa7e5bc046685cb0a8a131a7bd 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-29  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
+       byte-code forms.  (Bug#11380)
+
 2012-04-20  Chong Yidong  <cyd@gnu.org>
 
        * emacsclient.c (decode_options): Move -t -n corner case handling
index 3e79cae4f412c3ae675b0feff00354b2f40ce57c..b33b13f34ce982f35148359a19a8a7f481687b73 100644 (file)
@@ -1361,7 +1361,7 @@ scan_lisp_file (const char *filename, const char *mode)
 #ifdef DEBUG
       else if (! strcmp (buffer, "if")
               || ! strcmp (buffer, "byte-code"))
-       ;
+       continue;
 #endif
 
       else